﻿using Basic.Base.Compress.Impl;

namespace Basic.Base.Compress;

public interface IBasicCompression
{
    public static readonly IBasicCompression Instance = new BrotliCompression();

    MemoryStream Compress(MemoryStream inputStream);

    MemoryStream Decompress(MemoryStream inputStream);

    byte[] Compress(byte[] inputData);

    byte[] Decompress(byte[] inputData);

}